package club.vann.kafka.mock.common.model.info;

import lombok.Data;

/** 动态表格数据分页结构 */
@Data
public class DynamicTablePage {
  /** 动态表格数据 */
  private DynamicTableInfo dynamicTableInfo;

  /** 当前页 */
  private Integer curPage;

  /** 每页容量 */
  private Integer pageSize;

  /** 总数据量 */
  private Long total;

  public DynamicTablePage(
      DynamicTableInfo dynamicTableInfo, Integer curPage, Integer pageSize, Long total) {
    this.dynamicTableInfo = dynamicTableInfo;
    this.curPage = curPage;
    this.pageSize = pageSize;
    this.total = total;
  }
}
